layui.use(['layer', 'laydate', 'form', 'table', 'element', 'slider'], function () {
    var layer = layui.layer,
        laydate = layui.laydate,
        form = layui.form,
        table = layui.table,
        element = layui.element,
        $ = layui.$;

    var layer = layui.layer;

    $("#eidt").onclick(function () {
        layer.open({
            type: 1,
            content: 'nihao' //这里content是一个普通的String
        })
    });
});